﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JiaBao.Services.StoreService
{

    public interface IStoreService
    {
        /// <summary>
        /// 根据客户标识 获取 买家购买记录
        /// </summary>
        /// <param name="khbs"></param>
        /// <returns></returns>
        DataTable GetByJtdj(string  khbs);

        /// <summary>
        /// 根据客户标识 拍卖会Id 获取 买家购买记录
        /// </summary>
        /// <param name="khbs"></param>
        /// <returns></returns>
        DataTable GetByJtdjAndAucId(string khbs , int aucid);

        /// <summary>
        /// 根据客户标识 获取 卖家委托记录
        /// </summary>
        /// <param name="khbs"></param>
        /// <returns></returns>
        DataTable GetByHt(string khbs);

        /// <summary>
        /// 根据客户标识 拍卖会Id 获取 卖家委托记录
        /// </summary>
        /// <param name="khbs"></param>
        /// <returns></returns>
        DataTable GetByHtAndAucId(string khbs,int aucid);


        /// <summary>
        /// 更新ZT
        /// </summary>
        /// <param name="aucid"></param>
        /// <param name="tol"></param>
        /// <returns></returns>
        int UpdateZT(int aucid,int tol);
      

    }
}
